.section-varities {
    overflow: hidden;
}
.grid-feature .title-block {
    transition: border-color 0.6s ease, color 0.6s ease;
}
.main-slider .carousel-caption {
    z-index: 1;
}
.grid-feature .card:hover .title-block {
    z-index: 1;
}

.grid-feature .title-block:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0; 
    right: 100%;
    background:#b61952;
    transition: right 0.6s ease;
    z-index: -1;
}

.grid-feature .card:hover .title-block:before {
    right: 0;
    background: #b61952;
}

.section-product-of-the-year.aos-animate .col-md-8 {
    animation: slide-in-left 1s ease-in-out both;
}

.section-product-of-the-year.aos-animate .card .col-md-12 {
    animation: slide-in-right 1s ease-in-out both;
}



/* Featured products */
.section-featured-products {
       background: #f7f5ef url(/Resources/3/left-inner-background.png) left top no-repeat;
   
}


.categories.section-featured-products {
    background-image: url(/Resources/3/right-inner-background.png);
    background-position: right bottom;
    background-size: auto;
}
.left-feature {
    padding-right: 0;
}
.right-feature .container-fluid {
    padding-right: 0;
    padding-left: 0;
}

.grid-feature a.row.nav-link {
    padding: 0;
    color: initial !important;
    cursor: pointer !important;
    pointer-events: initial !important;
}

.grid-feature img.card-img-top {
    border-radius: 0;
    width: 100%;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
    transition: all .3s ease;
}

.featured-products {
    position: relative;
    padding: 70px 0;
}

.grid-feature .title-block {
    position: absolute;
    bottom: 20px;
    background: #a4854d;
    color: #fff;
    font-size: 24px;
    padding: 5px 30px;
    box-shadow: 0 0 20px 0 rgb(0 0 0/13%);
    z-index: 1;
}

.grid-feature .nav-link:hover img.card-img-top{
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}

.grid-feature .img-block {
    overflow: hidden;
    position: relative;
}

.grid-feature .nav-link:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0 0 0 / 10%);
    opacity: 0;
    visibility: hidden;
    z-index: 1;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
    transition: all .3s ease;
}

.grid-feature .nav-link:hover:before {
    opacity: 1;
    visibility: visible;
}

.grid-feature .img-block:before {
    background: linear-gradient( 357deg , rgb(0 0 0 / 35%) 0, rgb(0 0 0 / 15%) 28%, rgb(0 0 0 / 0%) 47%);
    content: '';
    position: absolute;
    width: 100%;
    z-index: 1;
    height: 100%;
}



.grid-feature {
    margin-top: 30px;
}



.top-part {
    margin-bottom: 30px;
}

.left-feature > div {
    height: 100%;
}

.left-feature {}

.left-feature app-compiler,.left-feature app-static-article {
    display: block;
    height: 100%;
}

.left-feature app-static-article {}

.left-feature .container-fluid {
    height: 100%;
}

.left-feature  .row {
    height: 100%;
}

.left-feature .card {
    height: 100%;
}

.left-feature > div,.left-feature > div a {
    height: 100%;
}

.left-feature .row {
    height: 100%;
}


.grid-feature .nav-link > .col-md-12:first-child {height: 100%;}

.left-feature .card > div {
    height: 100%;
}


.grid-feature .img-block {
    height: 100%;
}

.container.featured-products {
    border-bottom: 1px solid #dad8d3;
}



/* Products Categories */

.categories.container.featured-products {
    padding-top: 50px;
}

.categories .cat-cont {
    flex: 0 0 100%;
    max-width: 100%;
}

.categories .cat-cont img {

    width: 100%;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
    transition: all .3s ease;
    object-fit: cover;
    height: 100%;
}



.categories .imagesCat:hover img {
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}

.categories .imagesCat1 {
    overflow: hidden;
    position: relative;
    height: 290px;
    animation: .5s cubic-bezier(.26,.54,.32,1) 0s forwards;
    animation-name: image-fade-in;
}

.categories .imagesCat {
    margin-bottom: 30px;
    transition: all .25s ease-in-out;
    cursor: pointer;
}

.categories .cat-name {
    font-size: 18px;
    font-weight: 600;
    margin-top: 8px;
    transition: all .25s ease-in-out;
}

.categories .imagesCat:hover .cat-name {
    color: #c7a069;
}

.categories .cat-cont img:hover {
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}

.categories .row {
    justify-content: center;
}
.categories.container.featured-products {
    padding-bottom: 50px;
}

.card.cat {
    transition: all ease 0.3s;
}




/* product of the year */
.section-product-of-the-year {
    background: #f0ede2;
    padding: 70px 0;
}

.categories.container.featured-products {
    border: 0;
}


.section-product-of-the-year .col-md-8 {flex: 0 100%;max-width: 100%;grid-area: 1 / 1 / 5 / 4;}

.section-product-of-the-year .col-md-12:nth-child(2) {grid-area: 1 / 3 / 2 / 4;}

.section-product-of-the-year .col-md-12:nth-child(3) {grid-area: 2 / 3 / 3 / 4;}

.section-product-of-the-year  .col-md-12:nth-child(4) {grid-area: 3 / 3 / 4 / 4;}


.section-product-of-the-year  .card .row {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   grid-template-rows: repeat(4, 1fr);
   grid-column-gap: 0px;
   grid-row-gap: 0;
   grid-template-rows: auto auto;
}

.section-product-of-the-year  .col-md-12:nth-child(6) {grid-area: 4 / 3 / 5 / 4;}

.section-product-of-the-year  .img-block {
    height: 100%;
}

.section-product-of-the-year  img.card-img-top {
    object-fit: contain;
} 

.section-product-of-the-year .title-block {
    font-size: 24px;
}
.section-product-of-the-year .title-block a {
    color: #b99256;
}
.section-product-of-the-year .title-block {
       font-size: 50px;
    color: #b99256;
    display: block;
    line-height: 45px;
    margin-bottom: 10px;
    font-weight: 700;
  
}

.section-product-of-the-year  .btn-container {
    margin-top: 13px;
}

.section-product-of-the-year  span.card-text {
    display: block;
    text-align: justify;
}

.container.product-of-the-year {
    padding: 0;
}
.section-product-of-the-year .img-block:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    -webkit-transition: all 0.6s ease-in-out;
    -moz-transition: all 0.6s ease-in-out;
    -ms-transition: all 0.6s ease-in-out;
    -o-transition: all 0.6s ease-in-out;
    transition: all 0.6s ease-in-out;
}

.section-product-of-the-year .img-block:after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    -webkit-transition: all 0.6s ease-in-out;
    -moz-transition: all 0.6s ease-in-out;
    -ms-transition: all 0.6s ease-in-out;
    -o-transition: all 0.6s ease-in-out;
    transition: all 0.6s ease-in-out;
}

.section-product-of-the-year:hover .img-block:before {    right: 50%;
    left: 50%;
    background: rgba(255,255,255,.2);}


.section-product-of-the-year:hover .img-block:after {  top: 50%;
    bottom: 50%;
    background: rgba(255,255,255,.2);}
    .product-of-the-year .container-fluid {
    padding-left: 0;
    padding-right: 0;
}





/* .varities */

.varities {
    background: #ba2154;
}

.varities {
    color: #ffff;
    position: relative;
}

.section-product-of-the-year .title-block {
    margin-bottom: 10px;
    margin-top: -10px;
}
.varities .card-title {

    font-size: 67px;
    line-height: 84px;
    display: block;
}

.varities  a.row {
    padding-left: 0;
    padding-right: 0; }

.varities .card {
   padding-top: 80px;
   padding-bottom: 80px;
}



.varities-right {
    padding: 0;
    background-position: right;
    background-repeat: no-repeat;
}

.varities-left {
    background-position-x: left !important;
    padding-right: 0;
    
    position: relative;
}

.varities-left:before {
    content: '';
    background: url(/Resources/3/Varities-details-bg.webp) no-repeat;
    position: absolute;
    left: 0;
    height: 100%;
    width: 105%;
    background-position: right;
    background-size: cover;
}

.varities {
    content: '';
    background-image: url(/Resources/3/home-right-bg.webp);
    height: 100%;
    width: 100%;
    background-repeat: no-repeat;
    background-position: right bottom;
}

    
.varities-left .container-fluid {
    padding: 0;
}



.section-product-of-the-year .card-caption {
    font-size: 24px;
}
[class*="section-"] {
	opacity: 0;
	transition: opacity 300ms;
}

.section-inner-details {
	opacity: 1;
}
@media (max-width: 1354px) {
    
.varities .card-title {
    font-size: 50px;
    line-height: 47px;
}

.varities-left {
    flex: 0 0 40%;
    max-width: 40%;
}

.varities-middle {
    flex: 0 0 30%;
    max-width: 30%;
}

.varities-right {
    flex: 0 0 30%;
    max-width: 30%;
}
}





@media (max-width: 991px) {.section-product-of-the-year .title-block,.varities .card-title{
    font-size: 30px;
        line-height: 28px !important;
}
    .section-product-of-the-year .card .row {
    grid-template-columns: auto;
}

.section-product-of-the-year .card-title {
    font-size: 30px;
}
    .featured-products {
    padding: 30px 0 40px;
}

.grid-feature {margin-left: 0;margin-right: 0;}


.top-part .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
}


.left-feature .container-fluid {
    padding: 0;
}

.left-feature {
    margin-bottom: 0;
}

.categories.container.featured-products {
    PADDING: 30px 30px 20px;
}


.categories  .col-lg-12.col-md-12.col-sm-12 {
    PADDING: 0;
}

.div-container {
    flex: 0 0 50%;
    max-width: 50%;
}

.categories .imagesCat1,.card.cat .imagesCat {
    height: 150px;
}

.card.cat .imagesCat {
    MARGIN-BOTTOM: 0;
}

.categories .cat-name {
    FONT-SIZE: 14px;
    text-align: center;
}

.categories .imagesCat {
    margin-bottom: 20px;
}

.grid-feature .title-block {
    font-size: 16px;
    padding: 5px 10px;
}

.grid-feature .nav-link > .col-md-12:first-child {
}

.left-feature {
    padding-left: 0;
    padding-right: 10px;
}

.top-part ~ .col-lg-12.col-md-12.col-sm-12 {
    padding-right: 0;
}

.top-part {
    margin-bottom: 30px;
}

.grid-feature img.card-img-top {
    object-fit: cover;
}

.top-part .col-md-6:first-child {padding-right: 5px;}

.top-part .col-md-6:last-child {
    padding-right: 0;
    padding-left: 20px;
}
.varities-left {
    flex: 0 0 30%;
    max-width: 30%;
}

.varities-middle {
    flex: 0 0 40%;
    max-width: 40%;
}

.varities {
    background-position-x: 120%;
}

}



@media (max-width: 768px) { 
.varities {
    background-position-x: 170%;
} .varities-middle {
    padding: 0;
}.section-product-of-the-year .title-block a {
    margin-top: 10px !important;
    display: block;
    margin-bottom: 20px;
}}



@media (max-width: 600px) { 
.varities {background-image: none;} .varities-middle {
    padding: 10px;
    flex: 0 0 100%;
    max-width: 100%;
    padding-right: 20%;
    position: relative;
    z-index: 1;
}

.varities-middle:after {
    content: '';
    background: url(/Resources/3/home-right-bg.webp) no-repeat;
    position: absolute;
    right: -130px;
    height: 100%;
    width: 105%;
    background-position: bottom;
    background-size: cover;
    display: block;
    top: 0;
    opacity: 0.2;
    z-index: 0;
}

.varities-middle:before {
    display: block;
}}



@media (max-width: 575px) {
.left-feature {padding-right:0;margin-bottom: 30px;}

    .top-part .col-md-6:first-child {padding-right: 15px;padding-left: 0;}

.top-part .col-md-6:last-child {
    padding-right: 0;
    padding-left: 15px;
}

   

.container.featured-products {
  
    padding: 30px 40px 40px;
}

.top-part ~ .col-lg-12.col-md-12.col-sm-12 {
    padding-left: 0;
}

.section-product-of-the-year {
    padding: 50px 40px;
}

.section-product-of-the-year .col-md-8 {order: 2;}

.section-product-of-the-year .col-md-12:nth-child(2) {order: 0;}

.section-product-of-the-year .col-md-12:nth-child(3) {
    order: 1;
}

.section-product-of-the-year .col-md-12:nth-child(6) {
  
    order: 3;
}

.section-product-of-the-year .col-md-12:nth-child(4) {
    order: 3;
}

.section-product-of-the-year .card .row {
    display: flex;
}
}



